<template>
    <div id='' class='list_help_dow'>
        <div class="tab_show">
            <Tab :list="tab" @onClick="changeTab" :hiddenMore="true" />
        </div>
        <div class="list">
            <div class="item" v-for="(item,index) in list" :key="index" @click="onInfoShow(item)">
                <div class="left">
                    <div class="title">{{item.title}}</div>
                    <div class="describe">{{item.content}}</div>
                </div>
                <div class="right">
                    <div class="time">{{item.time}}</div>
                    <div class="type">{{item.type}}</div>
                </div>
            </div>
        </div>
        <div class="page">
            <Page :total="100" show-sizer show-elevator />
        </div>
    </div>
</template>
<script>
import Tab from '@/pages/fontApp/tab.vue'
export default {
    name: '',
    props: [''],
    data() {
        return {
            list: [
                { title: '中华人民共和国物权法（一）', content: '为担保债务的履行，债务人或者第三人将其动产出质给债权人占有的，债务人不履行到期债务或者发生当事人约定的实现质权的情形，债权人有权就该动产优先受偿。', time: '2023.01.30', type: '齐齐哈尔不动产' },
                { title: '中华人民共和国物权法（一）', content: '为担保债务的履行，债务人或者第三人将其动产出质给债权人占有的，债务人不履行到期债务或者发生当事人约定的实现质权的情形，债权人有权就该动产优先受偿。', time: '2023.01.30', type: '齐齐哈尔不动产' },
                { title: '中华人民共和国物权法（一）', content: '为担保债务的履行，债务人或者第三人将其动产出质给债权人占有的，债务人不履行到期债务或者发生当事人约定的实现质权的情形，债权人有权就该动产优先受偿。', time: '2023.01.30', type: '齐齐哈尔不动产' },
                { title: '中华人民共和国物权法（一）', content: '为担保债务的履行，债务人或者第三人将其动产出质给债权人占有的，债务人不履行到期债务或者发生当事人约定的实现质权的情形，债权人有权就该动产优先受偿。', time: '2023.01.30', type: '齐齐哈尔不动产' },
            ],
            tab: [
                { title: '系统介绍', default: true },
                { title: '操作手册', default: false },
            ]
        };
    },
    components: { Tab },
    computed: {},
    beforeMount() { },
    mounted() { },
    methods: {
        onInfoShow(event) {
            this.$router.push({
                path: `/detailInfo/index/帮助文档`
            })
        },
        changeTab(){}
    },
    watch: {}
}
</script>
<style lang='less' scoped>
.list_help_dow {
    .tab_show {
        margin-top: 20px;
    }
    .list {
        padding: 1px 0 40px 0;
        height: 500px;
        overflow: auto;
        .item {
            padding: 20px 0;
            display: flex;
            height: 100px;
            border-bottom: 1px solid #edeef0;
            cursor: pointer;
            .left {
                width: 90%;
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                .title {
                    font-size: 16px;
                    font-family: PingFang SC-Bold, PingFang SC;
                    font-weight: bold;
                    color: #17233d;
                }
                .describe {
                    font-size: 16px;
                    font-family: PingFang SC-Regular, PingFang SC;
                    font-weight: 400;
                    color: #808695;
                }
            }
            .right {
                width: 10%;
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                .time {
                    font-size: 16px;
                    font-family: PingFang SC-Regular, PingFang SC;
                    font-weight: 400;
                    color: #808695;
                }
                .type {
                    font-size: 16px;
                    font-family: PingFang SC-Regular, PingFang SC;
                    font-weight: 400;
                    color: #17233d;
                }
            }
        }
        .item:first-child {
            border-top: 1px solid #edeef0;
        }
    }
    .page {
        height: 58px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
</style>